package com.producteev4j.model.json.user;

import com.producteev4j.model.response.BaseResponse;
import com.producteev4j.model.response.UserLogin;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * Created by IntelliJ IDEA.
 * User: jcarrey
 * Date: 15/05/11
 * TimeImpl: 20:09
 * To change this template use File | Settings | File Templates.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserLoginImpl extends BaseResponse implements UserLogin {

    private String token;

    private String email;


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    @Override
    public String toString() {
        return new StringBuffer("UserLoginWrapperImpl{").append(
                "token='").append(token).append('\'').append(
                ", email='").append(email).append('\'').append(
                '}').toString();
    }

}
